<?php

class Reservation extends AppModel {
    
    // define model name
    var $name = 'Reservation';
    
    // define model schema
    var $schema = array(
        'id'                        => array('type' => 'int'),
        'room_id'                   => array('type' => 'int'),
        'user_id'                   => array('type' => 'int'),
        'client_id'                 => array('type' => 'int'),
        'identification'            => array('type' => 'string'),
        'identification_type'       => array('type' => 'string'),
        'nr_persons'                => array('type' => 'string'),
        'source'                    => array('type' => 'string'),
        'start_date'                => array('type' => 'string'),
        'end_date'                  => array('type' => 'blob'),
        'details'                   => array('type' => 'string'),
        'created'                   => array('type' => 'datetime'),
        'deletedOn'                 => array('type' => 'datetime')
    );
    
    // define validation rules
    var $validate = array(
    );
      
}


?>